// pages/mch/clerk/index.js
const App = getApp()

Page({
  data: {
    init: false,
    goodsInfo: {
      "goodsName": "小白菜",
      "smallPic": "https://img2.baidu.com/it/u=1028011339,1319212411&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1710781200&t=d6c72e4df2219336f260ccc74a3559cb",
      "carouselPic": ["https://img2.baidu.com/it/u=1028011339,1319212411&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1710781200&t=d6c72e4df2219336f260ccc74a3559cb", "https://img2.baidu.com/it/u=1028011339,1319212411&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1710781200&t=d6c72e4df2219336f260ccc74a3559cb"],
      "gIntroduction": "",
      "goodsDescribe": "富含矿物质，维c含量高",
      "marketPrice": "3.00",
      "salesPrice": "2.50",
      "stock": "9321.00"
    }
  },
  // 页面加载完成
  onLoad() {

    this.setData({
      init: true
    })
  },
  // 跳转页面
  toPage(e) {
    wx.navigateTo({
      url: e.currentTarget.dataset.uri
    })
  },

})